package com.jfeat.am.module.wegou.services.persistence.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 * <p>
 * 
 * </p>
 *
 * @author admin
 * @since 2018-02-27
 */
@TableName("wg_tag")
public class TagManage extends Model<TagManage> {

    private static final long serialVersionUID = 1L;

	private Long id;
    /**
     * 标签名字
     */
	@TableField("tag_name")
	private String tagName;
    /**
     * 中文标签名字
     */
	@TableField("zh_tag_name")
	private String zhTagName;
	private Long pid;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getTagName() {
		return tagName;
	}

	public void setTagName(String tagName) {
		this.tagName = tagName;
	}

	public String getZhTagName() {
		return zhTagName;
	}

	public void setZhTagName(String zhTagName) {
		this.zhTagName = zhTagName;
	}

	public Long getPid() {
		return pid;
	}

	public void setPid(Long pid) {
		this.pid = pid;
	}

	public static final String ID = "id";

	public static final String TAG_NAME = "tag_name";

	public static final String ZH_TAG_NAME = "zh_tag_name";

	public static final String PID = "pid";

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "TagManage{" +
			"id=" + id +
			", tagName=" + tagName +
			", zhTagName=" + zhTagName +
			", pid=" + pid +
			"}";
	}
}
